package routers

import (
	"GoApiWeb/controllers"

	log "GoApiWeb/lib/log"
	"net/http"

	"github.com/gorilla/mux"
)

func init() {

}

func HandleFunc() {

	log.LoadConfiguration("./config/log.json")
	router := mux.NewRouter().StrictSlash(true)

	router.HandleFunc("/", UserControllers.Index)

	log.LOGGER("Test").Info(http.ListenAndServe(":8080", router))
	log.Close()
}
